package com.xjh.him.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjh.him.domain.FriendApplyDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FriendApplyMapper extends BaseMapper<FriendApplyDO> {
    Integer handleApply(@Param("id") Long id, @Param("state") String state);

    List<FriendApplyDO> listApply(@Param("userId") Long userId);
}
